#include "ScnsIcm20602.c.h"

#if defined(SCNS_ICM20602_ENABLE)&&SCNS_ICM20602_ENABLE==1

#include "ScnsLs138.h"
#include "spi.h"

void scnsBspIcm20602RW(ScnsIcm20602Enum icmN,uint8*val,uint32 num)
{
    spi2Block();
    scnsLs138Set(SCNS_LS138_1,0);
    HAL_SPI_TransmitReceive(&hspi2,val,val,num,0XFFFF);
    scnsLs138Set(SCNS_LS138_1,8);
}

#endif
